package com.xhwy.vo.admin;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.xhwy.entity.Address;
import com.xhwy.entity.OrderDetail;
import com.xhwy.vo.ProductVo;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

//后台查询订单返回的数据实体
//解析json数据时忽略未知的属性
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class OrderDetailVo extends OrderDetail implements Serializable {

    //商品信息
    private List<ProductVo> productVoList;
    //地址信息
    private Address address;
    /** 创建者 */
    private String founder;
}
